package com.yxqz.manage_course.dao;

import com.xuecheng.framework.domain.course.Teachplan;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * TeachPlanRepository
 * 使用JPA的接口
 */
public interface TeachPlanRepository extends JpaRepository<Teachplan,String> {
//    根据课程id和parentid查询teachplan

    public List<Teachplan> findTeachplanByCourseidAndParentid(String courseId ,String parentId);
}
